import { RoleEnum, SexEnum } from './types'
import { resultSuccess } from './types'
import userInfo from './getData/userInfo.json'
import buttonList from "./getData/permBtmData.json";

export default [
  {
    url: '/api/login',
    method: 'post',
    response: () => {
      return {
        "success": true,
        "code": 200,
        "msg": "成功",
        "data": "PC:90_18c11ef0b8274a96afd2e15251ce8105"
      }
    }
  },
  {
    url: '/api/userInfo',
    method: 'get',
    response: () => {
      return userInfo
    }
  },
  {
    url: '/api/button',
    method: 'get',
    response: () => {
      return buttonList
    }
  }
]


